home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 52 / Amiga Format AFCD52 (Issue 136, May 2000).iso / -serious- / workbench / directoryopus4 / dopus4_src / dopus_icon / iconinfo.h < prev    next >
C/C++ Source or Header  |  2000-03-11  |  3KB  |  85 lines

  1. /*
  2.  
  3. Directory Opus 4
  4. Original GPL release version 4.12
  5. Copyright 1993-2000 Jonathan Potter
  6.  
  7. This program is free software; you can redistribute it and/or
  8. modify it under the terms of the GNU General Public License
  9. as published by the Free Software Foundation; either version 2
  10. of the License, or (at your option) any later version.
  11.  
  12. This program is distributed in the hope that it will be useful,
  13. but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15. GNU General Public License for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with this program; if not, write to the Free Software
  19. Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  20.  
  21. All users of Directory Opus 4 (including versions distributed
  22. under the GPL) are entitled to upgrade to the latest version of
  23. Directory Opus version 5 at a reduced price. Please see
  24. http://www.gpsoft.com.au for more information.
  25.  
  26. The release of Directory Opus 4 under the GPL in NO WAY affects
  27. the existing commercial status of Directory Opus 5.
  28.  
  29. */
  30.  
  31. //#include <fctype.h>
  32. #include <string.h>
  33. #include <stdlib.h>
  34. #include <stdarg.h>
  35. #include <exec/types.h>
  36. #include <exec/memory.h>
  37. #include <exec/execbase.h>
  38. #include <dos/dos.h>
  39. #include <dos/dosextens.h>
  40. #include <intuition/intuitionbase.h>
  41. #include <intuition/sghooks.h>
  42. #include <workbench/workbench.h>
  43. #include <workbench/startup.h>
  44. #include <proto/all.h>
  45.  
  46. #include <proto/dopus.h>
  47. #include <dopus/dopusmessage.h>
  48. #include "iconstrings.h"
  49.  
  50. #define II_TTLINES 5                      /* Number of tooltype lines */
  51.  
  52. enum {
  53.     II_SAVE,                                /* Save changes to icon */
  54.     II_SKIP,                                /* Leave this icon unchanged */
  55.     II_CANCEL,                              /* Lose changes to icon */
  56.     II_STACK,                               /* Stack size of projects */
  57.     II_COMMENT,                             /* Comment field */
  58.     II_DEFAULTTOOL,                         /* Default tool field */
  59.     II_TOOLTYPE,                            /* ToolType string gadget */
  60.     II_NEW,                                 /* New ToolType */
  61.     II_DELETE,                              /* Delete ToolType */
  62.     II_REMAP};                              /* Remap colours 1.3/2.0 */
  63.  
  64. extern struct DOpusBase *DOpusBase;
  65. extern struct IntuitionBase *IntuitionBase;
  66. extern struct GfxBase *GfxBase;
  67. extern struct Library *IconBase;
  68. extern struct Library *LayersBase;
  69. extern struct ExecBase *SysBase;
  70.  
  71. extern char protect_flags[6];
  72. extern char *specific_gadtext[5][6];
  73. extern char *icon_type_names[];
  74. extern char protect_keys[6];
  75.  
  76. extern struct DefaultString default_strings[];
  77.  
  78. #define STRING_VERSION 1
  79.  
  80. struct DOpusStartup {
  81.     struct WBStartup wbstartup;
  82.     int retcode;
  83. };
  84.  
  85.